package beans;

import utilities.Utilities;

public class LoginBean {
	
	public LoginBean() {
		super();
	}

	public String mUsername;
	public String mPassword;
	
	public String getUsername() {
		return mUsername;
	}
	public void setUsername(String mUsername) {
		this.mUsername = mUsername;
	}
	public String getPassword() {
		return mPassword;
	}
	public void setPassword(String mPassword) {
		this.mPassword = mPassword;
	}
	
	public void submit() {
		System.out.println(Utilities.isEmpty1(mUsername) );
		System.out.println(Utilities.isEmpty1(mPassword));
		if (Utilities.isEmpty1(mUsername) || Utilities.isEmpty1(mPassword)){
			System.out.println(Utilities.isEmpty1(mUsername) );
			System.out.println(Utilities.isEmpty1(mPassword));
			System.out.println("Blogai ivestas slaptazodis");
		} 
	}

}
